/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.DIPviolation.conf;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.DIPviolation.model.Manager;
import za.ac.cput.DIPviolation.model.Worker;
/**
 *
 * @author Enkosi
 */
@Configurable
public class Config {
    @Bean(name="manager")
    public Worker rateOfwork(){
       return new Worker(); 
    }
}
